// vite.config.js
import { defineConfig } from "file:///D:/my-project/vue3+vite+admin-template/node_modules/vite/dist/node/index.js";
import { fileURLToPath, URL } from "node:url";

// src/config/config.js
var config = {
  prefix: "my-admin-app-",
  isTest: true,
  baseURL: "http://101.33.244.167:3000"
  //请求的基础路径
};
var config_default = config;

// vite.config.js
import vue from "file:///D:/my-project/vue3+vite+admin-template/node_modules/@vitejs/plugin-vue/dist/index.mjs";
import ReactivityTransform from "file:///D:/my-project/vue3+vite+admin-template/node_modules/@vue-macros/reactivity-transform/dist/vite.mjs";
var __vite_injected_original_import_meta_url = "file:///D:/my-project/vue3+vite+admin-template/vite.config.js";
var vite_config_default = defineConfig({
  assetsInclude: ["**/*.shp"],
  base: "./",
  plugins: [vue(), ReactivityTransform()],
  resolve: {
    alias: {
      "@": fileURLToPath(new URL("./src", __vite_injected_original_import_meta_url))
    }
  },
  server: {
    host: true,
    port: 4399,
    proxy: {
      "/api": {
        target: config_default.baseURL,
        changeOrigin: true,
        rewrite: (path) => path.replace(/^\/api/, "")
      }
    }
  },
  build: {
    sourcemap: config_default.isTest,
    outDir: config_default.isTest ? "testdist" : "dist"
  },
  mode: config_default.isTest ? "development" : "production",
  css: {
    preprocessorOptions: {
      scss: {
        additionalData: `
          @use "@/styles/theme.scss" as *;
          `
      }
    }
  }
});
export {
  vite_config_default as default
};
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFsidml0ZS5jb25maWcuanMiLCAic3JjL2NvbmZpZy9jb25maWcuanMiXSwKICAic291cmNlc0NvbnRlbnQiOiBbImNvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9kaXJuYW1lID0gXCJEOlxcXFxteS1wcm9qZWN0XFxcXHZ1ZTMrdml0ZSthZG1pbi10ZW1wbGF0ZVwiO2NvbnN0IF9fdml0ZV9pbmplY3RlZF9vcmlnaW5hbF9maWxlbmFtZSA9IFwiRDpcXFxcbXktcHJvamVjdFxcXFx2dWUz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